package com.kk.xhr.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 权限树dto
 *
 * @author liujingcheng
 * @version 1.0, 2020/4/2 15:52
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PermissionTreeDTO {
    private Long id;
    private Long pid;
    private String name;
    private String component;
    private String path;
    private String title;
    private String icon;
    private boolean hidden;
    private List<PermissionTreeDTO> children;
}
